package com.web.test.service;

import com.web.test.pojo.User;

import java.util.List;

public interface UserService {
    public User login(String username, String password);

    public void addUser(User user);

    public void deleteUser(Integer userid);

    public boolean checkUserExist(String username);

    public List<User> queryUsers();
}
